package com.yunfeisoft.base.service.impl;

import com.yunfeisoft.base.dao.inter.WorkflowDefineDao;
import com.yunfeisoft.base.model.WorkflowDefine;
import com.yunfeisoft.base.service.inter.WorkflowDefineService;
import com.yunfeisoft.common.base.BaseServiceImpl;
import com.yunfeisoft.common.utils.Page;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * ClassName: WorkflowDefineServiceImpl
 * Description: 流程定义service实现
 * Author: Jackie liu
 * Date: 2020-01-03
 */
@Service("workflowDefineService")
public class WorkflowDefineServiceImpl extends BaseServiceImpl<WorkflowDefine, String, WorkflowDefineDao> implements WorkflowDefineService {

    @Override
    public Page<WorkflowDefine> queryPage(Map<String, Object> params) {
        return getDao().queryPage(params);
    }

    @Override
    public List<WorkflowDefine> queryList(Map<String, Object> params) {
        return getDao().queryList(params);
    }
}